var dbserver = require("../server/dbserver")


exports.userDetail = (req,res)=>{
  let fid = req.body.fid;
  let uid = req.body.uid;
  dbserver.userDetail(uid,fid,res);
}


exports.userUpdate = (req,res)=>{
  let data = req.body;
  dbserver.userUpdate(data,res);
}

exports.getFriendMarkName = (req,res)=>{
  let data = req.body;
  dbserver.getFriendMarkName(data,res);
}

exports.updateFriendMarkName = (req,res)=>{
  let data = req.body;
  dbserver.updateFriendMarkName(data,res);
}